/**
 * 
 */
package br.com.werp.regras.tesouraria.visao.decorador;

import java.util.HashMap;
import java.util.Map;

import org.displaytag.decorator.TableDecorator;

import br.com.werp.regras.geral.util.Html;
import br.com.werp.regras.geral.vos.tesouraria.ImpostoTabelaVO;

/**
 * @author Italo
 *
 *03/07/2006
 */
public class ImpostoTabelaPesquisa extends TableDecorator {

	public String getImpt_descricao() {
		ImpostoTabelaVO impostoTabelaVO = (ImpostoTabelaVO) getCurrentRowObject();
		
		Map map = new HashMap();
		map.put("imtb_id", new Integer(impostoTabelaVO.getImtb_id()));
		map.put("carregar_action","");
         		
		 return Html.href("../Impostos/TabelaForm.do",map) +
		   impostoTabelaVO.getImpt_descricao() + "</a>";
	}
}
